<?php
// Zabbix GUI configuration file
global $DB;

$DB["TYPE"]                     = '<%= scope.lookupvar('zabbix::params::db_type') %>';
$DB["SERVER"]                   = '<%= scope.lookupvar('zabbix::params::db_host') %>';
$DB["PORT"]                     = '<%= scope.lookupvar('zabbix::params::db_port') %>';
$DB["DATABASE"]                 = '<%= scope.lookupvar('zabbix::params::db_name') %>';
$DB["USER"]                     = '<%= scope.lookupvar('zabbix::params::db_user') %>';
$DB["PASSWORD"]                 = '<%= scope.lookupvar('zabbix::params::db_password') %>';
// SCHEMA is relevant only for IBM_DB2 database
$DB["SCHEMA"]                   = '';

$ZBX_SERVER                     = '<%= scope.lookupvar('zabbix::params::server_ip') %>';
$ZBX_SERVER_PORT                = '<%= scope.lookupvar('zabbix::params::server_listen_port') %>';
$ZBX_SERVER_NAME                = '<%= scope.lookupvar('zabbix::params::server_name') %>';

$IMAGE_FORMAT_DEFAULT   = IMAGE_FORMAT_PNG;